﻿<%@ Page Language="C#" MasterPageFile="~/App_form/Menu/dao_tao.master" AutoEventWireup="true"
    CodeFile="ImportNhanSu.aspx.cs" Inherits="App_form_Import_ImportNhanSu" %>

<%@ Register TagPrefix="Control" TagName="menu_phai" Src="~/App_ctr/Admin/menu_phai.ascx" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
    <div style="width: 100%">
        <div style="width: 20%; float: left;">
            <Control:menu_phai runat="server" ID="menuphai" />
        </div>
        <div style="width: 79.4%; float: right;">
            <div style="background-image: url(../../CSS/images/ui-bg_glass_75_e6e6e6_1x400.png);
                font-weight: bold; height: 30px; border: 1px solid #d3d3d3; margin-top: 4px;
                text-align: center; padding-top: 8px; text-transform: uppercase;">
                Import danh sách nhân sự
            </div>
            <div id="ndung" style="padding: 40px; margin-top: 2px;">
                <div style="display: table; margin: 0 auto; width: 90%; border: 1px solid #d3d3d3;
                    font-size: 16px;">
                    <div style="background-image: url(../../Images/Hethong/back.gif); background-repeat: repeat-x;
                        height: 30px; font-size: 12px !important;">
                    </div>
                    <div style="padding: 20px;">
                        <AjaxTk:AsyncFileUpload runat="server" ID="AsyncFileUpload" ClientIDMode="AutoID"
                            Width="300px" UploaderStyle="Modern" OnClientUploadError="uploadError"  OnClientUploadComplete="upload_complate"
                            UploadingBackColor="#CCFFFF" ThrobberID="Throbber" OnUploadedComplete="AsyncFileUpload_UploadedComplete" />
                        <asp:Label ID="Throbber" runat="server" Style="display: none">
                        <img src="../../Images/icon/indicator.gif" align="absmiddle" alt="loading" />
                        </asp:Label>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <script type="text/javascript">
        function upload_complate(arg, file) {
            $("span[id$='lblStatus']").text('Import dữ liệu thành công');
        }
        function uploadError(sender, args) {
            $("span[id$='lblStatus']").text('Có lỗi xảy ra.Kiểm tra lại file Excel');
        }
    </script>
</asp:Content>
